package org.lmj.dim.dto;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserDTO implements Serializable {

    @NotEmpty(message = "username must not empty")
    private String username;
    @NotEmpty(message = "password must not empty")
    private String password;
}
